package org.jeecg.modules.wlhy.customer.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 业务管理员与货主的关系
 */
@Data
public class HyCustomerAdminDTO implements Serializable {

    private String id;

    @ApiModelProperty(value = "userId")
    private String userId;

    private String userName;

    private String realName;

    @ApiModelProperty(value = "货主id")
    private String customerId;

    private String customerName;

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "是否启用(1表示是 0表示否)")
    private String isUsed;

    @ApiModelProperty(value = "创建人")
    private String createBy;

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;

}
